﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WastedMechanics.CharState
{
    public class CharStateEquipping : CharState
    {
        public CharStateEquipping(Character chr)
            : base(chr)
        {
        }

        public override void Enter()
        {
            Character.SetAnimation("IdleNothing");
            Character.BeginEquip();
        }

        public override void Exit()
        {
            Character.EndEquip();
        }

        public override void HaltOrder()
        {
            Character.SwitchState(new CharStateIdleNothing(Character));
        }  
    }
}
